﻿using System;
using System.Collections.Generic;

namespace SmartCommunity.Models;

/// <summary>
/// 数据字典
/// </summary>
public partial class DictEntity
{
    /// <summary>
    /// 字典ID
    /// </summary>
    public int DictId { get; set; }

    /// <summary>
    /// 字典类别
    /// </summary>
    public string DictType { get; set; } = null!;

    /// <summary>
    /// 字典名称
    /// </summary>
    public string DictName { get; set; } = null!;

    /// <summary>
    /// 备注说明
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreatedBy { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string UpdatedBy { get; set; } = null!;

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime UpdatedTime { get; set; }

    public virtual ICollection<DictItemEntity> DictItems { get; set; } = new List<DictItemEntity>();
}
